package com.dudy.authdemo.vo;


import com.dudy.common.base.PageData;

import java.util.Date;

/**
 * @program: nacos_test
 * @author: dudy
 * @create: 2020-12-22 09:41
 * @description:
 **/
public class PersonVO extends PageData<PersonVO> {
    private Long id;

    private String username;

    private String password;

    /**
     * 加密的盐
     */
    private String salt;

    private String phone;
    private String email;
    private String roles;
    private String roleNames;

    private Date gmtCreateTime;

    private String creator;

    private Date gmtUpdateTime;

    private String updater;
    /**
     * 删除标记，0：未删除，1：已删除
     */
    private Byte deleteFlag;

    /**
     * 用户状态，0：正常，1：冻结
     */
    private Byte status;

    public Long getId() {
        return id;
    }

    public PersonVO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public PersonVO setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public PersonVO setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getSalt() {
        return salt;
    }

    public PersonVO setSalt(String salt) {
        this.salt = salt;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public PersonVO setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public PersonVO setEmail(String email) {
        this.email = email;
        return this;
    }

    public Date getGmtCreateTime() {
        return gmtCreateTime;
    }

    public PersonVO setGmtCreateTime(Date gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
        return this;
    }

    public String getCreator() {
        return creator;
    }

    public PersonVO setCreator(String creator) {
        this.creator = creator;
        return this;
    }

    public Date getGmtUpdateTime() {
        return gmtUpdateTime;
    }

    public PersonVO setGmtUpdateTime(Date gmtUpdateTime) {
        this.gmtUpdateTime = gmtUpdateTime;
        return this;
    }

    public String getUpdater() {
        return updater;
    }

    public PersonVO setUpdater(String updater) {
        this.updater = updater;
        return this;
    }

    public Byte getDeleteFlag() {
        return deleteFlag;
    }

    public PersonVO setDeleteFlag(Byte deleteFlag) {
        this.deleteFlag = deleteFlag;
        return this;
    }

    public Byte getStatus() {
        return status;
    }

    public PersonVO setStatus(Byte status) {
        this.status = status;
        return this;
    }

    public String getRoles() {
        return roles;
    }

    public PersonVO setRoles(String roles) {
        this.roles = roles;
        return this;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public PersonVO setRoleNames(String roleNames) {
        this.roleNames = roleNames;
        return this;
    }
}
